package com.pure.util
{
	import flash.events.Event;
	
	public class MvcEvent extends Event
	{
		
		public function MvcEvent(type:String, data:Object=null, bubbles:Boolean=false)
		{
			this.data = data;
			super(this.type, this.bubbles);
		}
		
		private var data:Object;	// carray the data to target
		
		public static var EDIT:String	=	"_EDIT"; // when click the edit button, then dispatch the event
		public static var SAVE:String	=	"_SAVE"; // when click the save button
		public static var CREATE:String	=	"_CREATE"; // when click the save button
		public static var DELETE:String	=	"_DELETE"; // when click the delete button
	}
}